package com.situ.parking;

public class ParkModel {
	private Integer number; // 车位号
	private String plate; // 停车的车牌号
	private Integer state; // 停车位状态 1为有车，0为空闲
	private int count; // 车位数
	private int max = 5;

	public ParkModel(String plate, Integer state) {
		this.plate = plate;
		this.state = state;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getPlate() {
		return plate;
	}

	public void setPlate(String plate) {
		this.plate = plate;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getCount() {
		return count;
	}

	public int getMax() {
		return max;
	}
}
